<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Encryption: CrypterFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Encryption
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_crypter_factory.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_crypter_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CrypterFactory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Creates concrete Crypto Algorithms.  
 <a href="class_crypter_factory.html#details">More...</a></p>

<p><code>#include &lt;CrypterFactory.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CrypterFactory:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_crypter_factory.png" usemap="#CrypterFactory_map" alt=""/>
  <map id="CrypterFactory_map" name="CrypterFactory_map">
<area href="class_object.html" title="Common Baseclass for all other classes." alt="Object" shape="rect" coords="0,0,99,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a02475a0fab831135f496b3e71fad1968"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypter_factory.html#a02475a0fab831135f496b3e71fad1968">TAlgorithm</a> { <b>eRSA</b>, 
<b>eCaesar</b>
 }</td></tr>
<tr class="memdesc:a02475a0fab831135f496b3e71fad1968"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines which Concrete Crypto algorithms can be created. <br/></td></tr>
<tr class="separator:a02475a0fab831135f496b3e71fad1968"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a2658c811ea06b1e0c94195745ba2be0f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_crypter.html">Crypter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypter_factory.html#a2658c811ea06b1e0c94195745ba2be0f">CreateCrypter</a> (<a class="el" href="class_crypter_factory.html#a02475a0fab831135f496b3e71fad1968">TAlgorithm</a> enc)</td></tr>
<tr class="memdesc:a2658c811ea06b1e0c94195745ba2be0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a Concrete Crypto Algorithm <a class="el" href="class_object.html" title="Common Baseclass for all other classes.">Object</a>.  <a href="#a2658c811ea06b1e0c94195745ba2be0f"></a><br/></td></tr>
<tr class="separator:a2658c811ea06b1e0c94195745ba2be0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Creates concrete Crypto Algorithms. </p>
<p>The class <a class="el" href="class_crypter_factory.html" title="Creates concrete Crypto Algorithms.">CrypterFactory</a> implements a factory method to Create concrete Crypto Algorithms </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2658c811ea06b1e0c94195745ba2be0f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crypter.html">Crypter</a> * CrypterFactory::CreateCrypter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crypter_factory.html#a02475a0fab831135f496b3e71fad1968">TAlgorithm</a>&#160;</td>
          <td class="paramname"><em>enc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a Concrete Crypto Algorithm <a class="el" href="class_object.html" title="Common Baseclass for all other classes.">Object</a>. </p>
<p>The Function CreateCrypter creates an <a class="el" href="class_object.html" title="Common Baseclass for all other classes.">Object</a> of a concrete Crypte Algorithm depending on the Parameter enc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">enc</td><td>The Type of the desired Algorithm </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A Pointer to a concrete Algorithm <a class="el" href="class_object.html" title="Common Baseclass for all other classes.">Object</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_crypter_factory.html">CrypterFactory</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
